package com.sunday.common.core.remoting.rest.page;

import com.sunday.common.core.gson.GsonUtils;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class UserDTO {

    private Long id;

    private String name;

    @Override
    public String toString() {
        return GsonUtils.DEFAULT.toJson(this);
    }
}
